package codename.carrot.bomberman.game.listener;

import codename.carrot.bomberman.AppStorage.Power;

/**
 *  Interface for classes that want to listen to changes to powerups of players
 * @author Group A4
 *
 */
public interface PlayerPowerUpListener {
    
    /**
     *  Notification for when the speed of a player has changed
     * @param speed the new speed
     * @param power defines if it's power-up or power-down
     */
    public void speedChange(int speed, Power power);
    
    /**
     *  Notification for when the flame-up of a player has changed
     * @param flameLength the new flame-length for the bombs of the player
     * @param power defines if it's power-up or power-down
     */
    public void flameChange(int flameLength, Power power);
    
    /**
     *  Notification for when the number of bombs a player can place has changed
     * @param bombs the new number of bombs
     * @param power defines if it's power-up or power-down
     */
    public void bombChange(int bombs, Power power);
    
}
